package com.settlement.system.model.param;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * RPA3.0专项费用充值-银行卡信息表
 * @author xiaochuan
 * @since 2021-03-09
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblRpaTokenApiResponseParams extends ApiParams implements Serializable {


    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名",required = true)
    @NotBlank(message = "用户名")
    private String userName;

    /**
     * token
     */
    @ExcelProperty(value = "token")
    @ApiModelProperty(value = "token",required = true)
    private String token;

    /**
     * 失效时间
     */
    private Date expireDate;

    /**
     * 错误信息
     */
    private String errorMsg;

}
